<ion-view view-title="我的">
  <ion-content>
    <div class="card">
      <a class="item item-avatar item-icon-right" href="#/tab/account/detail/{{user.id}}">
        <img ng-src="{{user.face}}"/>
        <h2>{{user.name}}</h2>
        <p><i class=""></i>{{user.phone}}</p>
        <i class="icon ion-ios-arrow-right"></i>
      </a>
    </div>
    <div class="card">
      <a ng-hide="{{user == null}}" class="item" href="#/addresses">
        <h2>收获地址</h2>
      </a>
      <a ng-hide="{{user == null}}" class="item" href="#/completedOrders">
        <h2>以往订单</h2>
      </a>
    </div>
  </ion-content>
</ion-view>
